//
// Created by dengspc on 2019/2/15.
//

#ifndef INC_010_ALGORITHM_SYMBOLGRAPH_H
#define INC_010_ALGORITHM_SYMBOLGRAPH_H

#include <iostream>
#include "Graph.h"
#include "AdjGraph.h"

using namespace std;

typedef string String;

class SymbolGraph{
public:
    virtual bool contains(String key) = 0;//key是顶点吗
    virtual int index(String key) = 0;// key的索引
    virtual String name(int index) = 0;//index索引对应名称
    virtual Graph G() = 0;//隐藏的Graph对象
};

#endif //INC_010_ALGORITHM_SYMBOLGRAPH_H
